package com.liufeng.myheart.config;

import android.content.Intent;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.RelativeLayout;

import com.liufeng.myheart.R;

public class ConfigActivity extends AppCompatActivity implements OnClickListener {


    RelativeLayout mapdown;


    @Override
    protected void onCreate(Bundle savedInstanceState) {

        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_config);
        setTitle("系统设置");
        mapdown= (RelativeLayout) findViewById(R.id.mapdown);
        mapdown.setOnClickListener(this);
    }

    @Override
    public void onClick(View v) {

        switch (v.getId()) {


            case R.id.mapdown:
                Intent intent = new Intent(ConfigActivity.this, OfflineMapActivity.class);
                startActivity(intent);
                break;
            default:
                break;
        }
    }
}
